<template>
  <li :class="classes"><slot></slot></li>
</template>

<script>
export default {
  name: "TabTitleItem",
  props: {
    selected: Boolean
  },
  computed: {
    classes() {
      return {
        "layui-this": !!this.selected
      };
    }
  }
};
</script>

<style scoped>

</style>